package com.bugsnag.ohos;

/**
 * Represents the type of thread captured
 *
 * @since 2021-07-01
 */
public enum ThreadType {
    /**
     * A thread captured from Ohos's JVM layer
     */
    OHOS("ohos"),

    /**
     * A thread captured from ohos's NDK layer
     */
    C("c"),

    /**
     * A thread captured from JavaScript
     */
    REACTNATIVEJS("reactnativejs");

    String desc;

    ThreadType(String desc) {
        this.desc = desc;
    }
}
